
    <div id="address_select" style="display: none;">
        <div id="city_div"  style="float:left;padding:10px">
            <h3>縣市</h3>
            <select onchange="city_choose();" size="20" id="city">
                <option value="">請選擇</option>
                <?
                foreach($address_city as $key=>$val){
                ?>
                <option value="<?= $val->id ?>"><?= $val->name ?></option>
                <?
                }
                ?>
            </select>
        </div>
        <div id="area_div"  style="float:left;padding:10px">
            <h3>區域</h3>
            <select onchange="county_choose();" size="20" id="country">
                <option value="">請選擇</option>
                <?
                foreach($address_county as $key=>$val){
                ?>
                <option value="<?= $val->id ?>" ><?= $val->name ?></option>
                <?
                }
                ?>
            </select>
        </div>
        <div id="street_div" style="float:left;padding:10px">
            <h3>街道</h3>
            <select onchange="street_choose()" size="20" id="street">
                <option value="">請選擇</option>
            </select>
        </div>
        <div id="other_div" style="float:left;padding:10px">
            <h3>其它</h3>
            <div>
                <input type="button" onclick="word_choose('thousand')" value="千" class="button" name="thousand" id="thousand">
                <input type="button" onclick="word_choose('village')" value="村" class="button" name="village" id="village">
                <input type="button" onclick="word_choose('in')" value="里" class="button" name="in" id="in">
                <input type="button" onclick="word_choose('neighbor')" value="鄰" class="button" name="neighbor" id="neighbor">
            </div>
            <div>
                <input type="button" onclick="word_choose('road')" value="路" class="button" name="road" id="road">
                <input type="button" onclick="word_choose('word_street')" value="街" class="button" name="word_street" id="word_street">
                <input type="button" onclick="word_choose('paragraph')" value="段" class="button" name="paragraph" id="paragraph">
                <input type="button" onclick="word_choose('lane')" value="巷" class="button" name="lane" id="lane">
            </div>
            <div>
                <input type="button" onclick="word_choose('get')" value="弄" class="button" name="get" id="get">
                <input type="button" onclick="word_choose('number')" value="號" class="button" name="number" id="number">
                <input type="button" onclick="word_choose('floor')" value="樓" class="button" name="floor" id="floor">
                <input type="button" onclick="word_choose('room')" value="室" class="button" name="room" id="room">
            </div>
            <div>
                <input type="button" onclick="word_choose('the')" value="之" class="button" name="the" id="the">
                <input type="button" onclick="word_choose('del')" value="Del" class="button" name="del" id="del">
            </div>
            <div>
                <input type="button" onclick="word_choose('number_1')" value="1" class="button" name="number_1" id="number_1">
                <input type="button" onclick="word_choose('number_2')" value="2" class="button" name="number_2" id="number_2">
                <input type="button" onclick="word_choose('number_3')" value="3" class="button" name="number_3" id="number_3">
                <input type="button" onclick="word_choose('number_4')" value="4" class="button" name="number_4" id="number_4">
                <input type="button" onclick="word_choose('number_5')" value="5" class="button" name="number_5" id="number_5">
            </div>
            <div>
                <input type="button" onclick="word_choose('number_6')" value="6" class="button" name="number_6" id="number_6">
                <input type="button" onclick="word_choose('number_7')" value="7" class="button" name="number_7" id="number_7">
                <input type="button" onclick="word_choose('number_8')" value="8" class="button" name="number_8" id="number_8">
                <input type="button" onclick="word_choose('number_9')" value="9" class="button" name="number_9" id="number_9">
                <input type="button" onclick="word_choose('number_0')" value="0" class="button" name="number_0" id="number_0">
            </div>
        </div>
        <div style="clear: both;"></div>
        <div id="addr_div" style="padding:10px">
            <input type="text" value="" id="address" >
        </div>

    </div>
    
    
    

    <div id="administrative_area_select" style="display: none;">
        <div id="city_div"  style="float:left;padding:10px">
            <h3>縣市</h3>
            <select onchange="administrative_area_city_choose();" style="width:102px;" size="30" id="administrative_city">
                <option value="">請選擇</option>
                <?
                foreach($address_city as $key=>$val){
                ?>
                <option value="<?= $val->id ?>"><?= $val->name ?></option>
                <?
                }
                ?>
            </select>
        </div>
        <div id="area_div"  style="float:left;padding:10px;width:102px;">
            <h3>區域</h3>
            <select onchange="administrative_area_choose();" style="width:102px;" size="30" id="administrative_country">
                <option value="">請選擇</option>
                <?
                foreach($address_county as $key=>$val){
                ?>
                <option value="<?= $val->id ?>" ><?= $val->name ?></option>
                <?
                }
                ?>
            </select>
        </div>
        <div style="clear: both;"></div>
        <div id="addr_div" style="padding:10px">
            <input type="text" value="" id="administrative_area" >
        </div>

    </div>
    
    
    <div id="emphasis_area_select" style="display: none;"  class="form_style">
        <table class="windows_choose">
            <thead>
                <tr>
                    <th>選擇</th>
                    <th>重點區域</th>
                    <th>說明</th>

                </tr>
            </thead>
            <tbody>
                <?
                foreach($emphasis_area as $key=>$val){
                ?>
                <tr id="t_<?= $val->emphasis_area_id ?>">
                    <td><input type="radio" value="<?= $val->value ?>" name="emphasis_area_value" id="emphasis_area_value"></td>
                    <td><?= $val->value ?></td>
                    <td><?= $val->explanation ?></td>
                </tr>
                <?
                }
                ?>
            </tbody>
        </table>
    </div>
    
    
    
    <div id="building_name_select" style="display: none;"  class="form_style">
        <table class="windows_choose">
            <thead>
                <tr>
                    <th>選擇</th>
                    <th>名稱</th>
                    <th>說明</th>

                </tr>
            </thead>
            <tbody>
                <?
                foreach($building_name as $key=>$val){
                ?>
                <tr id="t_<?= $val->building_name_id ?>">
                    <td><input type="radio" value="<?= $val->value ?>" name="building_name_value" id="building_name_value"></td>
                    <td><?= $val->value ?></td>
                    <td><?= $val->explanation ?></td>
                </tr>
                <?
                }
                ?>
            </tbody>
        </table>
    </div>
    
    
    <div id="object_case_name_select" style="display: none;"  class="form_style">
        <table class="windows_choose">
            <thead>
                <tr>
                    <th>選擇</th>
                    <th>物件編號</th>
                    <th>案名</th>

                </tr>
            </thead>
            <tbody>
                <?
                foreach($object_case_name as $key=>$val){
                ?>
                <tr id="t_<?= $key ?>">
                    <td><input type="radio" value="<?= $val['case_name'] ?>" name="object_case_name_value" id="object_case_name_value"></td>
                    <td><?= $val['object_no'] ?></td>
                    <td><?= $val['case_name'] ?></td>
                </tr>
                <?
                }
                ?>
            </tbody>
        </table>
    </div>